<?php

class herodetailsController extends Controller{
    public function herodetails(){
        $hid = isset($_GET['hid']) ? $_GET['hid'] : 0;
        $hdmodel = new herodetailsModel();
        $data = $hdmodel->herodata($hid);
        $this->assign('datas',$data['herodata']);
        $this->assign('skill',$data['skill']);
        $this->assign('type',$data['type']);
        // var_dump($data['type']);
        $this->display('hero_details.tpl');

    }
}